@rem Shard Server 1：27020
@rem Shard Server 2：27021
@rem Shard Server 3：27022
@rem Shard Server 4：27023
@rem Config Server ：27100
@rem Config Server ：27101
@rem Config Server ：27102
@rem Route Process：40000
@rem https://www.runoob.com/mongodb/mongodb-sharding.html

set home=%cd%
set chunksize=500
set port=40000
set configdb=myshard/localhost:27100,localhost:27101,localhost:27102
set logpath=%home%\shard\log\route.log
set dbserver=%home%\bin\mongos
echo %home%
%dbserver% --configdb %configdb% --port %port% --logpath %logpath% --logappend
